package com.example.smartgreenhouse.service;

import com.example.smartgreenhouse.entity.FanOperationLog;
import java.util.List;
import java.util.Map;

public interface FanService {
    FanOperationLog controlFan(Long fanId, Long greenhouseId, String level, Long operatorId);
    List<FanOperationLog> getFanHistory(Long fanId);
    Map<String,Object> setFanAuto(Long fanId, Long greenhouseId, Long operatorId, Integer action);
}